package com.td.filemanager;

import ohos.aafwk.ability.AbilityPackage;
import ohos.app.Context;

/**
 * 应用程序
 */
public class MyApplication extends AbilityPackage {
    private static Context mContext;

    @Override
    public void onInitialize() {
        super.onInitialize();
        mContext = this;
    }

    /**
     * 获取上下文
     *
     * @return mContext
     */
    public static Context getInstance() {
        return mContext;
    }
}
